package newcrunch.typography;

/**
 * Extended TokenPosition class to provide start line and end line (inclusive).
 * @author WL
 */
public class TokenPosWithLine extends TokenPosition
{
    public int startLine;
    public int endLine;
    
    public TokenPosWithLine(int startPos, int endPos)
    {
        super(startPos, endPos);
    }
    
    public TokenPosWithLine(int startPos, int endPos, int startLine, int endLine)
    {
        super(startPos, endPos);
        this.startLine = startLine;
        this.endLine = endLine;
    }
}
